<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<%--
  Created by IntelliJ IDEA.
  User: dell
  Date: 2020/6/11
  Time: 13:56
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
            + request.getContextPath() + "/";
%>
<!DOCTYPE html>
<html>
<head>
    <base href="<%=basePath%>">
    <title>Title</title>
    <link rel="stylesheet" href="statics/css/bootstrap.min.css">
</head>
<body>
用户登录成功的首页面 <br>


是否是系统管理员：<shiro:hasRole name="系统管理员">是</shiro:hasRole> <br>
是否是线路管理员：<shiro:hasRole name="线路管理员">是</shiro:hasRole><br>
是否是巡检员：<shiro:hasRole name="巡检员">是</shiro:hasRole><br>

是否具备菜单[系统管理]：<shiro:hasPermission name="system:manager">是</shiro:hasPermission><br>
是否具备菜单[用户管理]：<shiro:hasPermission name="system:user">是</shiro:hasPermission><br>
是否具备菜单[角色管理]：<shiro:hasPermission name="system：role">是</shiro:hasPermission><br>

</body>
</html>
